<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			div{
				width: 100px;
				height: 100px;
				border: 1px solid red;
			}
			div:hover{
				/* margin: 20px 0 0 20px; */
				/* 修改为相对定位 */
				position: relative;
				top: 20px;
				left: 20px;
				
			}
		</style>
	</head>
	<body>
		<div>div1</div>
		<div>div2</div>
		<div>div3</div>
	</body>
</html>
